To run this executable jar file, type:

java -jar AGM.jar <filename>

where filename is the name of a local text file that contains spectral data with two 
columns separated by spaces.

NOTE: The wavelengths should be in microns, and should have the continuum removed. 
Example files to replicate the plots in Figure 4 are provided, so one could type:

java -jar AGM.jar KI3005-cont-rem.txt

or

java -jar AGM.jar GDS70d-cont-rem.txt